-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support new attribute shorthand #173
base: main
Are you sure you want to change the base?
Conversation
@@ -551,7 +551,7 @@ recipes containing attributes with arguments | |||
================================================================================ | |||
|
|||
|
|||
[group("foo"), group("echo")] | |||
[group("foo"), group: "echo"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the s-expr should not change at all since this is an alternative form of the same statement
Getting an npm error on
|
Hey sorry I totally missed this. Could you turn this into separate PRs, one that does the grammar updates (for the shorthand) and a separate one doing the support/CI/gitignore/etc updates? The grammar updates is small and looks great to me, everything else needs some more discussion. |
No worries, should get to this by EOW |
@tgross35 this should be ready to review once more |
https://github.com/IndianBoy42/tree-sitter-just/actions/runs/11768782768/job/32778994256?pr=173 should generated code be omitted from formatting? |
Added support for new attribute shorthand:
https://github.com/casey/just/blob/fa5770e71aa93402068ebc9e179e493fc94f8532/tests/attributes.rs#L202-L205